str = str(input("请输入一串字符:"))
dict = {}
for i in str:
    if i == ' ':
        continue
    dict[i] = str.count(i)
print('字符统计结果:', dict)
